﻿//-----------------------------------------------------------------------
// <copyright file="Person.cs" company="OverrideThis">
//     Copyright (c) 2010 OverrideThis.com
// </copyright>
//-----------------------------------------------------------------------
namespace OverrideThis.ContactManager.Domain
{
    using System;
    using System.Collections.Generic;
    using OverrideThis.Core.Domain;

    public class Person : IEntity<int>
    {
        public Person()
        {
            this.Contacts = new List<Contact>();
        }

        public virtual int Id { get; set; }

        public virtual string Lastname { get; set; }

        public virtual string Firstname { get; set; }

        public virtual DateTime BirthDate { get; set; }

        public virtual Country Country { get; set; }

        public virtual IList<Contact> Contacts { get; protected set;  }
    }
}
